package com.msh.automatic.android.control.task;

import java.io.Serializable;

/**
 * 任务表;
 * @author : http://www.chiner.pro
 * @date : 2025-6-6
 */
public class Task implements Serializable,Cloneable{
    /** 主键 */

    private String id;

    /** 任务描述 */

    private String title;

    /** 任务类型 */

    private TaskType type;

    /** app下载地址 */

    private String downloadUrl;

    /** app包名 */

    private String packageName;

    /** app的界面 */

    private String activityClass;

    /** app版本 */

    private Long versionCode;

    /** 无障碍服务名称 */

    private String accessibilityServiceName;

    /** 无障碍服务类 */

    private String accessibilityServiceClass;

    /** 任务参数 */

    private String params;


    /** 任务类型枚举 */
    public enum TaskType{
        app,
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public TaskType getType() {
        return type;
    }

    public void setType(TaskType type) {
        this.type = type;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getActivityClass() {
        return activityClass;
    }

    public void setActivityClass(String activityClass) {
        this.activityClass = activityClass;
    }

    public Long getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(Long versionCode) {
        this.versionCode = versionCode;
    }

    public String getAccessibilityServiceName() {
        return accessibilityServiceName;
    }

    public void setAccessibilityServiceName(String accessibilityServiceName) {
        this.accessibilityServiceName = accessibilityServiceName;
    }

    public String getAccessibilityServiceClass() {
        return accessibilityServiceClass;
    }

    public void setAccessibilityServiceClass(String accessibilityServiceClass) {
        this.accessibilityServiceClass = accessibilityServiceClass;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }
}